package com.easyfun.healthmagicbox.alarmclock;

import com.easyfun.healthmagicbox.HMBMainActivity;

import android.app.AlarmManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;

public class AlarmService extends Service {
    private AlarmManager alarmManager;

    @Override
    public IBinder onBind(Intent intent) {
            return null;
    }

    @Override
    public void onCreate() {
            super.onCreate();
//            alarmManager = (AlarmManager) getSystemService(Service.ALARM_SERVICE);
//            alarmManager
//            .set(AlarmManager.RTC_WAKEUP,
//                            System.currentTimeMillis() + 10 * 1000, PendingIntent
//                            .getActivity(HMBMainActivity.instance, 0,
//                                            new Intent(MainActivity.instance,
//                                                            AlarmActivity.class), 0));
    }
} 